package com.bjsxt;
//实例化对象
public class TestTwo01 {
    public static void main(String[] args) {
        //接口实现类
        TestInterface02 testInterface02 = new TestInterface02();
        String name = testInterface02.getName("happy");
        System.out.println(name);

        //接口类
        Tgeneric02<String> tgeneric02 = new TestInterface02();
        String name2 = tgeneric02.getName("baby");
        System.out.println(name2);
    }

}
